#!/bin/bash

echo "#<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>#"
echo "|				  |"
echo "| 	CRUX updater	  	  |"
echo "| 	Hello $USER  		  |"
echo "|				  |"
echo "| What would you like to do?	  |"
echo "|				  |"
echo "| 1) Update ports	  	  |"
echo "| 2) Update system		  |"
echo "| 3) Exit			  |"
echo "|				  |"
echo "#<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>#"

read n
case $n in
  1) sudo ports -u && scun notify;;
  2) sudo prt-get sysup -is -if -im;;
  3) exit;;
esac
